** Models used in "Testing Civics: State-Level Education Requirements and Political Knowledge," David E. Campbell and Richard G. Niemi, American Political Science Review **

** Corresponding data found in "post-election survey, Campbell and Niemi.dta"

** Models in Table 4 and Figure 3 ***
*** replace XXXX with location of dataset ***

** Table 4 **
regress Pol_knowledge norequirement_04and12  course_with_04and12 consequences_04and12_new SSrqdyrs black Hispanic Asian Immigrant books_2 books_3 books_4 female age Enrolled ed_relative Yvote10CPS Ele12Comp All_meanNAEP ed_expenditure_hs median_hhinc [aweight= weight_final], cluster(State_hs)

outreg2 using "XXXX" , stats(coef se pval) auto(3) label word  title("Table 4. The Effects on Political Knowledge of Civics Requirements after High School (18-24-year-olds)") ctitle("","General Population") replace

regress Pol_knowledge norequirement_04and12  course_with_04and12 consequences_04and12_new SSrqdyrs  books_2 books_3 books_4 female age Enrolled ed_relative Yvote10CPS Ele12Comp All_meanNAEP ed_expenditure_hs median_hhinc [aweight= weight_final], cluster(State_hs), if Hispanic==1


outreg2 using "XXXX" , stats(coef se pval) auto(3) label word  title("Table 4. The Effects on Political Knowledge of Civics Requirements after High School (18-24-year-olds)") ctitle("","Latinos") append

regress Pol_knowledge norequirement_04and12  course_with_04and12 consequences_04and12_new SSrqdyrs  books_2 books_3 books_4 female age Enrolled ed_relative Yvote10CPS Ele12Comp All_meanNAEP ed_expenditure_hs median_hhinc [aweight= weight_final], cluster(State_hs), if Immigrant ==1

outreg2 using "XXXX" , stats(coef se pval) auto(3) label word  title("Table 4. The Effects on Political Knowledge of Civics Requirements after High School (18-24-year-olds)") ctitle("","Immigrants") append

regress Pol_knowledge norequirement_04and12  course_with_04and12 consequences_04and12_new SSrqdyrs  books_2 books_3 books_4 female age Enrolled ed_relative Yvote10CPS Ele12Comp All_meanNAEP ed_expenditure_hs median_hhinc [aweight= weight_final], cluster(State_hs), if LatinoImmigrant==1

outreg2 using "XXXX" , stats(coef se pval) auto(3) label word  title("Table 4. The Effects on Political Knowledge of Civics Requirements after High School (18-24-year-olds)") ctitle("","Latino Immigrants") append

